;(function(window) {

  var svgSprite = '<svg>' +
    '' +
    '<symbol id="icon-pcyuankongxin" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M510.742357 62.016449c-247.089561 0-447.39561 200.306048-447.39561 447.39561s200.306048 447.39561 447.39561 447.39561 447.39561-200.306048 447.39561-447.39561S757.831918 62.016449 510.742357 62.016449zM510.742357 892.342448c-211.486692 0-382.930389-171.443697-382.930389-382.930389s171.443697-382.930389 382.930389-382.930389 382.930389 171.443697 382.930389 382.930389S722.229049 892.342448 510.742357 892.342448z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-halfCheck" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M824.481386 958.958658 199.618898 958.958658c-74.189699 0-134.549415-60.278875-134.549415-134.376477L65.069483 200.547549c0-74.091462 60.358693-134.37136 134.549415-134.37136L824.481386 66.176189c74.189699 0 134.548392 60.278875 134.548392 134.37136l0 624.034633C959.029778 898.679783 898.676202 958.958658 824.481386 958.958658L824.481386 958.958658zM199.618898 126.904295c-40.662095 0-73.740468 33.035394-73.740468 73.643254l0 624.034633c0 40.608883 33.078373 73.644277 73.740468 73.644277L824.481386 898.226458c40.661072 0 73.740468-33.035394 73.740468-73.644277L898.221854 200.547549c0-40.60786-33.078373-73.643254-73.740468-73.643254L199.618898 126.904295 199.618898 126.904295zM199.618898 126.904295"  ></path>' +
    '' +
    '<path d="M692.168917 257.429047c10.061147 0 19.542078 2.322905 28.443819 6.967692 8.901741 4.641717 16.736173 10.543124 23.508413 17.704221 6.773264 7.158027 12.190647 15.285125 16.257266 24.38027 4.063549 9.093099 6.094812 17.897625 6.094812 26.411533l0 360.481098c0 8.901741-2.128477 17.703197-6.385431 26.412556-4.256954 8.708336-9.964956 16.543791-17.125029 23.511483-7.158027 6.964622-15.286148 12.671601-24.38027 17.121959-9.096169 4.451382-18.285458 6.67605-27.571962 6.67605L327.625294 767.095909c-8.513908 0-16.931624-2.031263-25.252127-6.094812s-15.769149-9.383718-22.347984-15.963577-11.899004-14.3181-15.962553-23.219841c-4.063549-8.898671-6.095835-18.381649-6.095835-28.443819L257.966795 334.053192c0-9.674337 2.031263-19.154245 6.095835-28.443819 4.063549-9.286504 9.674337-17.509792 16.83441-24.670889 7.158027-7.157004 15.381315-12.865006 24.670889-17.121959 9.286504-4.257977 19.154245-6.386454 29.603225-6.386454L692.168917 257.43007 692.168917 257.429047zM692.168917 257.429047"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-unCheck" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M804.387 962l-584.775 0c-85.5 0-155.025-68.231-155.025-152.044l0-595.856c0-83.869 69.525-152.1 155.025-152.1l584.775 0c85.444 0 155.025 68.231 155.025 152.1l0 595.856c0 83.813-69.581 152.044-155.025 152.044zM219.613 127.925c-49.163 0-89.1 38.644-89.1 86.119l0 595.856c0 47.475 39.938 86.063 89.1 86.063l584.775 0c49.106 0 89.044-38.644 89.044-86.063l0-595.8c0-47.475-39.938-86.119-89.044-86.119l-584.775 0zM722.206 267.031l-267.525 324.225-165.6-127.35-77.063 95.287 164.756 126.619-0.225 0.281 89.775 70.819 345.656-418.837z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-4" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M511.722172 639.532605 768.166799 383.094118 255.277546 383.094118Z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-check" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M803.474956 958.101127 225.017358 958.101127c-84.576257 0-153.35062-67.493184-153.35062-150.401452L71.666738 218.281445c0-82.962503 68.774363-150.45671 153.35062-150.45671l578.457598 0c84.520999 0 153.349597 67.494207 153.349597 150.45671l0 589.41823C956.824553 890.606921 887.994931 958.101127 803.474956 958.101127L803.474956 958.101127zM225.017358 133.037992c-48.63058 0-88.13634 38.225603-88.13634 85.188194l0 589.419254c0 46.962591 39.505759 85.131913 88.13634 85.131913l578.457598 0c48.576345 0 88.082104-38.22458 88.082104-85.131913l0-589.362972c0-46.962591-39.505759-85.188194-88.082104-85.188194L225.017358 133.094274 225.017358 133.037992 225.017358 133.037992z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-xiangyoujiantou" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M384 256l256 256-256 256z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-nonext" viewBox="0 0 1044 1024">' +
    '' +
    '<path d="M506.535 728.659c-127.188 0-230.678-103.491-230.678-230.678s103.491-230.678 230.678-230.678 230.678 103.491 230.678 230.678-103.469 230.678-230.678 230.678zM506.535 309.245c-104.078 0-188.737 84.681-188.737 188.737s84.658 188.737 188.737 188.737 188.737-84.681 188.737-188.737-84.658-188.737-188.737-188.737z" fill="#656565" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '</svg>'
  var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
  var shouldInjectCss = script.getAttribute("data-injectcss")

  /**
   * document ready
   */
  var ready = function(fn) {
    if (document.addEventListener) {
      if (~["complete", "loaded", "interactive"].indexOf(document.readyState)) {
        setTimeout(fn, 0)
      } else {
        var loadFn = function() {
          document.removeEventListener("DOMContentLoaded", loadFn, false)
          fn()
        }
        document.addEventListener("DOMContentLoaded", loadFn, false)
      }
    } else if (document.attachEvent) {
      IEContentLoaded(window, fn)
    }

    function IEContentLoaded(w, fn) {
      var d = w.document,
        done = false,
        // only fire once
        init = function() {
          if (!done) {
            done = true
            fn()
          }
        }
        // polling for no errors
      var polling = function() {
        try {
          // throws errors until after ondocumentready
          d.documentElement.doScroll('left')
        } catch (e) {
          setTimeout(polling, 50)
          return
        }
        // no errors, fire

        init()
      };

      polling()
        // trying to always fire before onload
      d.onreadystatechange = function() {
        if (d.readyState == 'complete') {
          d.onreadystatechange = null
          init()
        }
      }
    }
  }

  /**
   * Insert el before target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var before = function(el, target) {
    target.parentNode.insertBefore(el, target)
  }

  /**
   * Prepend el to target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var prepend = function(el, target) {
    if (target.firstChild) {
      before(el, target.firstChild)
    } else {
      target.appendChild(el)
    }
  }

  function appendSvg() {
    var div, svg

    div = document.createElement('div')
    div.innerHTML = svgSprite
    svgSprite = null
    svg = div.getElementsByTagName('svg')[0]
    if (svg) {
      svg.setAttribute('aria-hidden', 'true')
      svg.style.position = 'absolute'
      svg.style.width = 0
      svg.style.height = 0
      svg.style.overflow = 'hidden'
      prepend(svg, document.body)
    }
  }

  if (shouldInjectCss && !window.__iconfont__svg__cssinject__) {
    window.__iconfont__svg__cssinject__ = true
    try {
      document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
    } catch (e) {
      console && console.log(e)
    }
  }

  ready(appendSvg)


})(window)